/**
 * Author: Lily Jiang
 * Create Time: 2019/9/3
 * Description:
 */

import { createStore, applyMiddleware, compose } from "redux";
import rootReducer from "./reducers";
import thunk from 'redux-thunk';

const middleware = [thunk];
export const store =  createStore(rootReducer, compose(
    applyMiddleware(...middleware)
));
